<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="display" uri="http://displaytag.sf.net/el" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="/lottery/js/validate.js"></script>
<link href="/lottery/css/common.css" type="text/css" rel="stylesheet" />
<title>题目列表</title>
</head>

<body>
<div id="man_zone1">
	<div class="operation_tile">
		题目列表
	</div>
	<display:table name="questionList"  pagesize="10" requestURI="/lottery/admin/question.do?action=findByAll"  sort ="external" id ="row" partialList ="true"  size ="resultSize">
		<display:column property ="questionId"  title ="题目编号" style="width:10%"/>
		<display:column title ="题目类型" style="width:10%">
			<c:if test="${row.questionType eq '0'}">选择题</c:if>
			<c:if test="${row.questionType eq '1'}">其他</c:if>
		</display:column>
		<display:column property ="questionContent" title ="题目内容" maxLength="35" style="white-space: nowrap;"/>
		<display:column title="操作" style="width:10%">
			<a href="/lottery/admin/question.do?action=findById&id=<c:out value="${row.questionId}"/>">修改</a> | 
			<a href="/lottery/admin/question.do?action=delete&id=<c:out value="${row.questionId}"/>" onclick="return del();">删除</a>
		</display:column>
	</display:table>

</div>
</body>
</html>

